<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta id="viewport" name="viewport" content="width=320; initial-scale=1.0;maximum-scale=1.0; user-scalable=no;"/>
<title><?php echo $title;?></title>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="format-detection" content="telephone=no" />
<meta name="apple-mobile-web-app-status-bar-style" content="blank" />
<link rel="stylesheet" type="text/css" href="/static/wapn/css/index.css?cmd="/>
<link rel="stylesheet" type="text/css" href="/static/wapn/css/style.css"/>
<script charset="utf-8" type="text/javascript" src="/plugin/cooperation_base.js?v=<?php echo $_site->site_config['site']['version']?>"></script>
</head>
<?php
	require_once $_site->get_handlepath('user');
	$user_data=user_fun_get_user_login_info();
?>
<script language="JavaScript" type="text/javascript">
	//退出登录

		function exit_login(){


			<?php
			if(!get_session('user')){
				?>
				alert('您未登录');
				return false;
				<?php
			}
		?>
		$.ajax({
			type:'get',//Get or Post
			url:'/handle.php',
			cache:false,//false
			dataType:'json',
			data:'h=user/exit',
			beforeSend:function(XMLHttpRequest){

			},
			success:function(data){
				window.location.href="/wap/index";
			}
		});//Ajax End
		}
</script>